gtk4.git
5 years agoMerge branch 'wip/chergert/shadertoy-macos-fix' into 'master'
Matthias Clasen [Thu, 3 Dec 2020 19:00:39 +0000 (19:00 +0000)]
Merge branch 'wip/chergert/shadertoy-macos-fix' into 'master'

demos: make alienplanet demo work on macOS OpenGL

See merge request GNOME/gtk!2915

5 years agodemos: make alienplanet demo work on macOS OpenGL
Christian Hergert [Thu, 3 Dec 2020 18:20:11 +0000 (10:20 -0800)]
demos: make alienplanet demo work on macOS OpenGL

On the macOS OpenGL implementation, the use of noise2 as a
function within the glsl shader collides with the builtin noise2 of a
different signature.

This changes the name to something similar (noize2) so that we
do not risk colliding names when linking.

With this commit, the shadertoy alienplanet demo works on mac
OpenGL (albeit still with the Cairo renderer).

5 years agoMerge branch 'wip/otte/conic' into 'master'
Matthias Clasen [Thu, 3 Dec 2020 17:14:01 +0000 (17:14 +0000)]
Merge branch 'wip/otte/conic' into 'master'

Implement a GL shader for conic gradients

See merge request GNOME/gtk!2913

5 years agoMerge branch 'wip/tintou/gdk-backends-header' into 'master'
Emmanuele Bassi [Thu, 3 Dec 2020 12:32:24 +0000 (12:32 +0000)]
Merge branch 'wip/tintou/gdk-backends-header' into 'master'

build: Use the correct path to the header of the wayland and x11 backends

See merge request GNOME/gtk!2914

5 years agoglrenderer: Implement a shader for conic gradients
Benjamin Otte [Thu, 3 Dec 2020 05:02:18 +0000 (06:02 +0100)]
glrenderer: Implement a shader for conic gradients

5 years agorendernode: Fix some wrong constants for conic gradients
Benjamin Otte [Thu, 3 Dec 2020 05:00:21 +0000 (06:00 +0100)]
rendernode: Fix some wrong constants for conic gradients

copy/paste from other nodes left some wrong values in there and that
screwed things up quite a bit.

5 years agoglrenderer: Emit more useful error messages
Benjamin Otte [Thu, 3 Dec 2020 04:33:30 +0000 (05:33 +0100)]
glrenderer: Emit more useful error messages

Catch the error when it happens, so that we can emit a specific and more
helpful error message.

Also verify that all branches in the code now do indeed set a proper
GError when they fail, so that the final catch-all is no longer needed.
Instead, assert that the error is set so that we catch future code
additions early that do not set the GError.

5 years agobuild: Use the correct path to the header of the wayland and x11 backends
Corentin Noël [Thu, 3 Dec 2020 09:02:03 +0000 (10:02 +0100)]
build: Use the correct path to the header of the wayland and x11 backends

5 years agoNEWS: Updates
Matthias Clasen [Thu, 3 Dec 2020 04:10:39 +0000 (23:10 -0500)]
NEWS: Updates

5 years agoMerge branch 'wip/otte/conic' into 'master'
Matthias Clasen [Thu, 3 Dec 2020 03:54:24 +0000 (03:54 +0000)]
Merge branch 'wip/otte/conic' into 'master'

Add support for conic gradients

See merge request GNOME/gtk!2911

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 3 Dec 2020 03:43:19 +0000 (03:43 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3429

See merge request GNOME/gtk!2912

5 years agocss: Add support for conic-gradient()
Benjamin Otte [Thu, 3 Dec 2020 00:24:45 +0000 (01:24 +0100)]
css: Add support for conic-gradient()

This comes complete with animation support. For a good time, try:

@keyframes conic {
  100% { background-image: conic-gradient(from 1turn, red, lime, blue, yellow, red); }
}

window {
  background-image: conic-gradient(red, lime, blue, yellow, red);
  animation: conic infinite linear 5s;
}

5 years agoMerge branch 'wip/otte/diediedie' into 'master'
Benjamin Otte [Thu, 3 Dec 2020 01:31:39 +0000 (01:31 +0000)]
Merge branch 'wip/otte/diediedie' into 'master'

Remove GtkFileChooserButton

See merge request GNOME/gtk!2909

5 years agogtk: Remove GtkFileChooserButton
Benjamin Otte [Wed, 2 Dec 2020 19:15:28 +0000 (20:15 +0100)]
gtk: Remove GtkFileChooserButton

... as discussed in the meeting.

5 years agodocs: Remove mentions of <accelerator>
Matthias Clasen [Thu, 3 Dec 2020 00:59:44 +0000 (19:59 -0500)]
docs: Remove mentions of <accelerator>

That is no longer supported, keyboard shortcuts
are done with GtkShortcut now.

Fixes: #3429
5 years agogtk-demo: Add a search button
Matthias Clasen [Thu, 3 Dec 2020 00:53:55 +0000 (19:53 -0500)]
gtk-demo: Add a search button

Easter eggs are great, but search shouldn't be one.

5 years agosnapshot: Add gsk_snapshot_append_conic_gradient()
Benjamin Otte [Thu, 3 Dec 2020 00:15:53 +0000 (01:15 +0100)]
snapshot: Add gsk_snapshot_append_conic_gradient()

5 years agogsk: Add GskConicGradientNode
Benjamin Otte [Wed, 2 Dec 2020 23:47:54 +0000 (00:47 +0100)]
gsk: Add GskConicGradientNode

5 years agoMerge branch 'fix/keyboard-input' into 'master'
Matthias Clasen [Wed, 2 Dec 2020 22:14:27 +0000 (22:14 +0000)]
Merge branch 'fix/keyboard-input' into 'master'

Gdk4/Win32: Correct calls to gdk_key_event_new()

See merge request GNOME/gtk!2903

5 years agoGdk4/Win32: Correct call to gdk_key_event_new()
Matthew Jakeman [Wed, 2 Dec 2020 22:14:27 +0000 (22:14 +0000)]
Gdk4/Win32: Correct call to gdk_key_event_new()

The keycode and modifier (state) parameters are in the wrong order
for gdk_key_event_new() in the gdk win32 backend, which causes
key up/down events to be populated incorrectly.

5 years agorendernodeparser: Split out a function
Benjamin Otte [Wed, 2 Dec 2020 20:48:35 +0000 (21:48 +0100)]
rendernodeparser: Split out a function

5 years agoMerge branch 'wip/chergert/gdk-macos-for-master' into 'master'
Matthias Clasen [Wed, 2 Dec 2020 20:15:51 +0000 (20:15 +0000)]
Merge branch 'wip/chergert/gdk-macos-for-master' into 'master'

Revert "macos: specify a window level for surfaces"

See merge request GNOME/gtk!2908

5 years agoMerge branch 'ebassi/doc-fixes' into 'master'
Emmanuele Bassi [Wed, 2 Dec 2020 20:08:05 +0000 (20:08 +0000)]
Merge branch 'ebassi/doc-fixes' into 'master'

Ebassi/doc fixes

Closes #3428

See merge request GNOME/gtk!2906

5 years agomacos: resign main/key when hiding window
Christian Hergert [Wed, 2 Dec 2020 19:35:22 +0000 (11:35 -0800)]
macos: resign main/key when hiding window

This isn't done automatically for us, so we need to synthesize it in
our hide helper.

With this commit, we properly re-focus the new main/key window after
we have closed a transient-for window.

5 years agomacos: disconnect frame clock when destroying surface
Christian Hergert [Wed, 2 Dec 2020 19:35:02 +0000 (11:35 -0800)]
macos: disconnect frame clock when destroying surface

5 years agomacos: track grab serial like other backends
Christian Hergert [Wed, 2 Dec 2020 19:34:31 +0000 (11:34 -0800)]
macos: track grab serial like other backends

This is what is done elsewhere, so copy that here too now that we actually
generate serials for events.

5 years agotests: Remove testsvg
Benjamin Otte [Wed, 2 Dec 2020 18:48:15 +0000 (19:48 +0100)]
tests: Remove testsvg

That demo lives in gtk-demo now.

5 years agoRevert "macos: specify a window level for surfaces"
Christian Hergert [Wed, 2 Dec 2020 19:15:57 +0000 (11:15 -0800)]
Revert "macos: specify a window level for surfaces"

This reverts commit ca8b00e87192570541e33c9320167b1146457210.

This isn't needed and causes issues with other applications getting
stacked beneath our windows.

5 years agoFix transfer of GtkTreeExpander.get_item()
Emmanuele Bassi [Wed, 2 Dec 2020 19:09:10 +0000 (19:09 +0000)]
Fix transfer of GtkTreeExpander.get_item()

We return a full reference to the item.

Fixes: #3428
5 years agodocs: Add missing fields to GtkTextBufferClass
Emmanuele Bassi [Wed, 2 Dec 2020 19:04:43 +0000 (19:04 +0000)]
docs: Add missing fields to GtkTextBufferClass

5 years agodocs: Hide private files/directories in the GTK reference
Emmanuele Bassi [Wed, 2 Dec 2020 18:53:45 +0000 (18:53 +0000)]
docs: Hide private files/directories in the GTK reference

5 years agodocs: Mark GtkModelButton's section as private
Emmanuele Bassi [Wed, 2 Dec 2020 18:53:17 +0000 (18:53 +0000)]
docs: Mark GtkModelButton's section as private

The widget is not public any more.

5 years agodocs: Add more symbols to the GDK reference
Emmanuele Bassi [Wed, 2 Dec 2020 15:48:31 +0000 (15:48 +0000)]
docs: Add more symbols to the GDK reference

5 years agodocs: Add yet another private header
Emmanuele Bassi [Wed, 2 Dec 2020 15:48:17 +0000 (15:48 +0000)]
docs: Add yet another private header

5 years agodocs: More ignored files
Emmanuele Bassi [Wed, 2 Dec 2020 15:25:05 +0000 (15:25 +0000)]
docs: More ignored files

5 years agodocs: Remove duplicate symbol
Emmanuele Bassi [Wed, 2 Dec 2020 15:24:51 +0000 (15:24 +0000)]
docs: Remove duplicate symbol

5 years agodocs: Add missing GdkDragSurfaceInterface gtk-doc annotation
Emmanuele Bassi [Wed, 2 Dec 2020 15:15:30 +0000 (15:15 +0000)]
docs: Add missing GdkDragSurfaceInterface gtk-doc annotation

5 years agodocs: Ignore harder
Emmanuele Bassi [Wed, 2 Dec 2020 15:10:54 +0000 (15:10 +0000)]
docs: Ignore harder

First of all, we must list *all* ignored headers. Since we have public
headers in the x11 and wayland directories, we must explicitly declare
all headers that we consider private under those directories.

The "quartz" subdirectory was renamed "macos", with the new macOS
backend. The "mir" directory was removed, so there's no need to ignore
it.

We are also missing a bunch of ignored headers in the top-level gdk
directory.

Finally, pass the list of ignored files to gtkdoc-mkdb, so we won't get
missing declaration warnings.

5 years agodocs: Remove private symbols from the API reference
Emmanuele Bassi [Wed, 2 Dec 2020 15:10:25 +0000 (15:10 +0000)]
docs: Remove private symbols from the API reference

5 years agoRemove gtk-doc annotation from private symbols
Emmanuele Bassi [Wed, 2 Dec 2020 15:09:32 +0000 (15:09 +0000)]
Remove gtk-doc annotation from private symbols

Keep the documentation, just tweak it so that gtk-doc won't try to find
the declarations of these private symbols.

5 years agoMerge branch 'wip/chergert/gdk-macos-for-master' into 'master'
Matthias Clasen [Wed, 2 Dec 2020 18:38:14 +0000 (18:38 +0000)]
Merge branch 'wip/chergert/gdk-macos-for-master' into 'master'

macos: fix window stacking

See merge request GNOME/gtk!2907

5 years agomacos: place above transient-for when presenting
Christian Hergert [Wed, 2 Dec 2020 18:20:07 +0000 (10:20 -0800)]
macos: place above transient-for when presenting

We need to re-attach to the transient-for window whenever we present or
we risk getting placed behind the window by the display server. Apparently
that setting does not persist across a hide of the NSWindow.

5 years agomacos: specify a window level for surfaces
Christian Hergert [Wed, 2 Dec 2020 18:15:43 +0000 (10:15 -0800)]
macos: specify a window level for surfaces

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Wed, 2 Dec 2020 15:57:39 +0000 (15:57 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

See merge request GNOME/gtk!2905

5 years agoStringList: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 20:41:18 +0000 (21:41 +0100)]
StringList: add missing nullability annotations

5 years agoShortcut: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:32:48 +0000 (18:32 +0100)]
Shortcut: add missing nullability annotations

5 years agoStringFilter: get_search fix nullable annotation
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:18:47 +0000 (18:18 +0100)]
StringFilter: get_search fix nullable annotation

5 years agoText: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:15:38 +0000 (18:15 +0100)]
Text: add missing nullability annotations

5 years agoTextView: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:08:31 +0000 (18:08 +0100)]
TextView: add missing nullability annotations

5 years agoTreeModel: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 17:04:34 +0000 (18:04 +0100)]
TreeModel: add missing nullability annotations

5 years agoTreeView: add missing nullability annotations
Bilal Elmoussaoui [Tue, 24 Nov 2020 16:57:32 +0000 (17:57 +0100)]
TreeView: add missing nullability annotations

5 years agowidget: Add a missing nullability annotation
Matthias Clasen [Wed, 2 Dec 2020 15:08:58 +0000 (10:08 -0500)]
widget: Add a missing nullability annotation

5 years agoClarify the docs for gtk_widget_class_set_css_name
Matthias Clasen [Wed, 2 Dec 2020 15:06:01 +0000 (10:06 -0500)]
Clarify the docs for gtk_widget_class_set_css_name

Reword, and mention the default css name.

5 years agowindow: default_icon_name can be null
Bilal Elmoussaoui [Tue, 24 Nov 2020 16:35:46 +0000 (17:35 +0100)]
window: default_icon_name can be null

5 years agoMerge branch 'ebassi/for-master' into 'master'
Emmanuele Bassi [Wed, 2 Dec 2020 13:40:25 +0000 (13:40 +0000)]
Merge branch 'ebassi/for-master' into 'master'

Various documentation fixes

See merge request GNOME/gtk!2900

5 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 2 Dec 2020 12:54:32 +0000 (13:54 +0100)]
Updated Spanish translation

5 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 2 Dec 2020 08:26:08 +0000 (09:26 +0100)]
Updated Spanish translation

5 years agoMerge branch 'wip/chergert/gdk-macos-for-master' into 'master'
Emmanuele Bassi [Wed, 2 Dec 2020 01:14:30 +0000 (01:14 +0000)]
Merge branch 'wip/chergert/gdk-macos-for-master' into 'master'

macos: various macos improvements for GTK 4

See merge request GNOME/gtk!2902

5 years agomacos: use Cairo renderer by default
Christian Hergert [Wed, 2 Dec 2020 00:24:15 +0000 (16:24 -0800)]
macos: use Cairo renderer by default

Until the GL renderer is working on macOS OpenGL, we need to default
to the Cairo renderer.

5 years agomacos: glFlush() when switching GL contexts
Christian Hergert [Thu, 26 Nov 2020 19:18:10 +0000 (11:18 -0800)]
macos: glFlush() when switching GL contexts

The Mac OpenGL programming guide suggests that you glFlush() before changing
contexts to ensure that the commands have been submitted.

5 years agomacos: treat some toplevel NSWindow like document windows
Christian Hergert [Tue, 24 Nov 2020 20:39:19 +0000 (12:39 -0800)]
macos: treat some toplevel NSWindow like document windows

This makes the window animate in by the window manager like other
application windows on macOS. Currently ignored for transient windows.

5 years agodocs: Ignore generated Wayland protocol file
Emmanuele Bassi [Tue, 1 Dec 2020 18:03:31 +0000 (18:03 +0000)]
docs: Ignore generated Wayland protocol file

5 years agodocs: Ignore more private files
Emmanuele Bassi [Tue, 1 Dec 2020 18:01:33 +0000 (18:01 +0000)]
docs: Ignore more private files

5 years agodocs: Annotate missing symbols
Emmanuele Bassi [Tue, 1 Dec 2020 17:28:16 +0000 (17:28 +0000)]
docs: Annotate missing symbols

5 years agoUse the appropriate prefix for GtkBuilderClosureFlags
Emmanuele Bassi [Tue, 1 Dec 2020 17:26:34 +0000 (17:26 +0000)]
Use the appropriate prefix for GtkBuilderClosureFlags

Facilitate the job of glib-mkenums, and ensure that the enumeration
nicknames are computed reliably.

5 years agodocs: Annotate GtkBuildableParser
Emmanuele Bassi [Tue, 1 Dec 2020 17:21:45 +0000 (17:21 +0000)]
docs: Annotate GtkBuildableParser

5 years agodocs: Hide GtkBitsetIter fields
Emmanuele Bassi [Tue, 1 Dec 2020 17:18:38 +0000 (17:18 +0000)]
docs: Hide GtkBitsetIter fields

5 years agodocs: Annotate GtkAssistant::escape action signal
Emmanuele Bassi [Tue, 1 Dec 2020 17:18:23 +0000 (17:18 +0000)]
docs: Annotate GtkAssistant::escape action signal

5 years agodocs: Annotate GtkAppChooserButton::changed
Emmanuele Bassi [Tue, 1 Dec 2020 17:16:05 +0000 (17:16 +0000)]
docs: Annotate GtkAppChooserButton::changed

5 years agodocs: Ignore more files
Emmanuele Bassi [Tue, 1 Dec 2020 15:21:44 +0000 (15:21 +0000)]
docs: Ignore more files

5 years agodocs: Add missing annotations for GtkTextTagTable
Emmanuele Bassi [Tue, 1 Dec 2020 15:04:09 +0000 (15:04 +0000)]
docs: Add missing annotations for GtkTextTagTable

5 years agoMake GtkCenterLayout accessors more idiomatic
Emmanuele Bassi [Tue, 1 Dec 2020 14:45:01 +0000 (14:45 +0000)]
Make GtkCenterLayout accessors more idiomatic

Add argument validation, and emit a layout-changed signal whenever the
start, center, and end widgets change.

5 years agodocs: Fix annotations in GtkCenterLayout
Emmanuele Bassi [Tue, 1 Dec 2020 14:44:28 +0000 (14:44 +0000)]
docs: Fix annotations in GtkCenterLayout

Missing ':' separator.

5 years agodocs: Annotate GskRenderer
Emmanuele Bassi [Tue, 1 Dec 2020 14:17:59 +0000 (14:17 +0000)]
docs: Annotate GskRenderer

5 years agodocs: Annotate the GL shader objects
Emmanuele Bassi [Tue, 1 Dec 2020 14:16:45 +0000 (14:16 +0000)]
docs: Annotate the GL shader objects

5 years agodocs: Annotate all render node types
Emmanuele Bassi [Tue, 1 Dec 2020 14:16:28 +0000 (14:16 +0000)]
docs: Annotate all render node types

5 years agodocs: Annotate structure types used by GskRenderNodes
Emmanuele Bassi [Tue, 1 Dec 2020 14:01:02 +0000 (14:01 +0000)]
docs: Annotate structure types used by GskRenderNodes

5 years agodocs: Annotate GdkDeviceTool
Emmanuele Bassi [Tue, 1 Dec 2020 13:50:25 +0000 (13:50 +0000)]
docs: Annotate GdkDeviceTool

5 years agodocs: Annotate GdkGLTexture
Emmanuele Bassi [Tue, 1 Dec 2020 13:48:07 +0000 (13:48 +0000)]
docs: Annotate GdkGLTexture

5 years agodocs: Annotate GdkMemoryTexture
Emmanuele Bassi [Tue, 1 Dec 2020 13:47:56 +0000 (13:47 +0000)]
docs: Annotate GdkMemoryTexture

5 years agodocs: Annotate GdkPaintable
Emmanuele Bassi [Tue, 1 Dec 2020 13:44:51 +0000 (13:44 +0000)]
docs: Annotate GdkPaintable

The dummy typedef needs a gtk-doc stanza, and the interface
documentation needs to be slightly clarified.

5 years agodocs: Annotate GdkPopup
Emmanuele Bassi [Tue, 1 Dec 2020 13:42:07 +0000 (13:42 +0000)]
docs: Annotate GdkPopup

5 years agodocs: Annotate GdkSnapshot
Emmanuele Bassi [Tue, 1 Dec 2020 13:41:28 +0000 (13:41 +0000)]
docs: Annotate GdkSnapshot

5 years agodocs: Annotate the GdkToplevel interface
Emmanuele Bassi [Tue, 1 Dec 2020 13:39:48 +0000 (13:39 +0000)]
docs: Annotate the GdkToplevel interface

5 years agodocs: Fix typo in the GdkTolevelLayout annotation
Emmanuele Bassi [Tue, 1 Dec 2020 13:38:33 +0000 (13:38 +0000)]
docs: Fix typo in the GdkTolevelLayout annotation

5 years agodocs: Annotate the GdkContentProviderClass structure
Emmanuele Bassi [Tue, 1 Dec 2020 13:38:12 +0000 (13:38 +0000)]
docs: Annotate the GdkContentProviderClass structure

5 years agodocs: Ignore more private headers
Emmanuele Bassi [Tue, 1 Dec 2020 13:37:59 +0000 (13:37 +0000)]
docs: Ignore more private headers

5 years agoMerge branch 'sophie-h/gtk-nullables-2'
Matthias Clasen [Tue, 1 Dec 2020 04:43:44 +0000 (23:43 -0500)]
Merge branch 'sophie-h/gtk-nullables-2'

Merge Sophie's nullable annotations, with some documentation
fixups on top.

5 years agocolumnviewcolumn: Improve docs
Matthias Clasen [Tue, 1 Dec 2020 04:40:03 +0000 (23:40 -0500)]
columnviewcolumn: Improve docs

Mention what setting sorter to NULL means.

5 years agocenterlayout: Improve docs
Matthias Clasen [Tue, 1 Dec 2020 04:36:23 +0000 (23:36 -0500)]
centerlayout: Improve docs

Explain what passing NULL does.

5 years agoUpdate Catalan translation
Jordi Mas [Mon, 30 Nov 2020 21:35:47 +0000 (22:35 +0100)]
Update Catalan translation

5 years agoMerge branch 'arnaudb/annotate-set-title' into 'master'
Matthias Clasen [Mon, 30 Nov 2020 21:14:28 +0000 (21:14 +0000)]
Merge branch 'arnaudb/annotate-set-title' into 'master'

Add "nullable" annotation.

See merge request GNOME/gtk!2895

5 years agoNEWS: Updates
Matthias Clasen [Mon, 30 Nov 2020 19:00:26 +0000 (14:00 -0500)]
NEWS: Updates

5 years agoMerge branch 'master' into 'master'
Matthias Clasen [Mon, 30 Nov 2020 17:55:27 +0000 (17:55 +0000)]
Merge branch 'master' into 'master'

broadway: make header name parsing case-insensitve

Closes #3406

See merge request GNOME/gtk!2894

5 years agoApply 1 suggestion(s) to 1 file(s)
Matthias Clasen [Mon, 30 Nov 2020 17:44:30 +0000 (17:44 +0000)]
Apply 1 suggestion(s) to 1 file(s)

5 years agoApply 1 suggestion(s) to 1 file(s)
Matthias Clasen [Mon, 30 Nov 2020 17:42:39 +0000 (17:42 +0000)]
Apply 1 suggestion(s) to 1 file(s)

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 30 Nov 2020 15:49:25 +0000 (15:49 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

build: Use link_whole for linking our convenience libs

See merge request GNOME/gtk!2899

5 years agobuild: Use link_whole for linking our convenience libs
Matthias Clasen [Mon, 30 Nov 2020 14:53:46 +0000 (09:53 -0500)]
build: Use link_whole for linking our convenience libs

Without this, we lose exported symbols from e.g. libgsk
that are not used elsewhere in the code.

5 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Mon, 30 Nov 2020 14:44:15 +0000 (14:44 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Matthiasc/for master

Closes #3364

See merge request GNOME/gtk!2898

5 years agomodelbutton: Reset active menu item on pointer leave
Timm Bäder [Sun, 29 Nov 2020 08:49:08 +0000 (09:49 +0100)]
modelbutton: Reset active menu item on pointer leave

We don't want to leave an active menu item behind if the pointer doesn't
enter another menu item.
This matches the old GtkMenu behavior